package com.oc.mba.util;

/**
 * @author Administrator
 *
 */
public class ResultCode {
	
	/**
	 * 操作成功
	 */
	public static final int SUCCESS = 0;
	

	/**
	 * 操作失败
	 */
	public static final int FAILURE = -1;
	
	/**
	 * req参数为空
	 */
	public static final int EMPTY_REQ = -1000;
	
	/**
	 * 参数格式无效(非JSON格式)
	 */
	public static final int INVALID_REQ_TYPE = -1001;

	/**
	 * 参数无效
	 */
	public static final int INVALID_REQ = -1002;

	/**
	 * 订单ID不合法
	 */
	public static final int ORDERID_INVALID = -1003;

	/**
	 * 订单出现异常
	 */
	public static final int ORDER_ERROR = -1004;

	/**
	 * 等待付款
	 */
	public static final Object ORDER_WAIT_FOR_PAY = 999;
	
	/**
	 * 付款成功
	 */
	public static final Object ORDER_SUCCESS = 1000;

}
